﻿#include <QCoreApplication>

#include "implementor.h"
#include "concreteplayer.h"
#include "implementoronwin.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    Implementor* impl = new ImplementorOnWin();
    AbstractPlayer* player = new ConcretePlayer(impl);

    player->play();

    delete player;

    return a.exec();
}
